/**
 * 
 */
package model;

import java.util.List;

import com.google.android.gms.maps.model.LatLng;

/**
 * @author Claude Michel
 *
 */
public abstract class Person {
private String mailAdress;
//private String name;
//private String surname;
private String accountName;
private LatLng currentPosition;
private boolean isOnline;
private List <Event> eventList;

public Person(){
	
}
public Person(String mailAdress,
		LatLng currentPosition, boolean isOnline) {
//	this.name = name;
//	this.surname = surname;
	this.accountName = mailAdress;
	this.currentPosition = currentPosition;
	this.isOnline=isOnline;
}

public String getAccountName(){
	return accountName;
}
/**
 * @return the mailAdress
 */
public String getMailAdress() {
	return mailAdress;
}
/**
 * @param mailAdress the mailAdress to set
 */
public void setMailAdress(String mailAdress) {
	this.mailAdress = mailAdress;
}
/**
 * @return the eventList
 */
public List<Event> getEventList() {
	return eventList;
}
/**
 * @param eventList the eventList to set
 */
public void setEventList(List<Event> eventList) {
	this.eventList = eventList;
}
/* (non-Javadoc)
 * @see java.lang.Object#toString()
 */
@Override
public String toString() {
	return "Person [accountName=" + accountName + ", currentPosition="
			+ currentPosition + ", eventList=" + eventList + "]";
}
/**
 * @return the currentPosition
 */
public LatLng getCurrentPosition() {
	return currentPosition;
}
/**
 * @param currentPosition the currentPosition to set
 */
public void setCurrentPosition(LatLng currentPosition) {
	this.currentPosition = currentPosition;
}

}
